package com.bwie.record.mapper;

import com.bwie.record.domain.DataTwo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName DataTwoMapper
 * @Description 描述
 * @Author ZiZheng.Li
 * @Date 2024/7/7 19:42
 */
@Mapper
@Component
public interface DataTwoMapper {
    int insert(DataTwo dataTwo);

    int update(DataTwo dataTwo);

    DataTwo findById(@Param("id") String id);

    List<DataTwo> findAll();
}
